﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using YXY.Identity.Model.Common;

namespace YXY.Identity.Model
{
    [SugarTable("user")]
    public class UserModel : BaseModel
    {
        /// <summary>
        /// 手机号 
        ///</summary>
        public string Phone { get; set; }
        /// <summary>
        /// 密码 
        ///</summary>
        public string Password { get; set; }
        /// <summary>
        /// 登录次数 
        ///</summary>
        public int LoginCount { get; set; } = 0;
        /// <summary>
        /// 角色ID 
        ///</summary>
        public int RoleId { get; set; }
        /// <summary>
        /// 上次登录时间 
        ///</summary>
        public DateTime LastLoginTime { get; set; } = DateTime.MinValue;

    }
}
